package cn.huoyingkeji.system.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import cn.huoyingkeji.mybitisplus.domain.TenantEntity;
import lombok.Getter;
import lombok.Setter;
/**
 * 角色资源关系表
 */
@Getter
@Setter
@TableName("t_sys_role")
public class SysRoleResourceRelation extends TenantEntity {
    /** ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    
    /** 角色ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roleId;
    /** 用户id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long resourceId;
    /** 扩展信息 */
    private String extJson;
}
